package com.lancoo.klgcourseware.api;

import com.lancoo.klgcourseware.entity.bean.StudyRecordBean;
import com.lancoo.klgcourseware.entity.passTrain.PassTrainAddResponce;
import com.lancoo.klgcourseware.entity.passTrain.PassTrainRecordResponce;
import com.lancoo.klgcourseware.entity.passTrain.PassTrainResponce;
import com.lancoo.klgcourseware.entity.passTrain.WordBookRequestBean;

import io.reactivex.Observable;
import retrofit2.http.Body;
import retrofit2.http.POST;

/**
 * Created by pengmi on 2020/6/17 15:11
 * Description:
 */
public interface PassTrainApi {

    @POST("api/DecryptTrain/GetNewCoursewareEx")
    Observable<PassTrainResponce> isInWorkBook(
            @Body WordBookRequestBean wordBookRequestBean
    );
    @POST("api/DecryptTrain/AddWBRecordIOS")
    Observable<PassTrainAddResponce> addKlgIntoWordBook(
            @Body WordBookRequestBean wordBookRequestBean
    );

    @POST("api/DecryptTrain/PushBigDataSR")
    Observable<PassTrainRecordResponce> pushBigDataSR(
            @Body StudyRecordBean wordBookRequestBean
    );
}
